{template "../Public/header"}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Home/tao.css" />
{template "../Public/nav"}
<div class="tao-wrap">
<div class="lt">
<div class="tao-filters">
<p><a href="{echo reUrl('Home/Tao/shops')}"  title="淘宝优惠券" target="_blank">更多淘宝店 &gt;&gt;</a>推荐淘宝店</p>
<ol>
<!--{eval $shops=tao_shop_recs(1);}-->
<!--{loop $shops $shop}-->
<li><a href="{echo reUrl('Tao/shop?id='.$shop[s_id])}"  title="{$shop.title}优惠券" target="_blank"><IMG src="{echo tao_shop_logo($shop['pic_path'])}"  alt="{$shop.title}优惠券" ><span>{$shop.title}</span></a></li>
<!--{/loop}-->
</ol>
<ul>
<li><a href="{echo reUrl('Tao/index?cid=0&t_type='.$t_type.'&p=1')}" {if $cid==0}class="on"{/if}>全部</a>
<!--{loop $categorys $item}-->
<a href="{echo reUrl('Tao/index?cid='.$item[id].'&t_type='.$t_type.'&p=1')}" {if $cid==$item['id']}class="on"{/if}>{$item.name}</a>
<!--{/loop}-->
</li>
<li><a href="{echo reUrl('Tao/index?cid='.$cid.'&t_type=0&p=1')}" {if $t_type==0}class="on"{/if}>不限</a>
<a href="{echo reUrl('Tao/index?cid='.$cid.'&t_type=1&p=1')}" {if $t_type==1}class="on"{/if}>今天</a>
<a href="{echo reUrl('Tao/index?cid='.$cid.'&t_type=2&p=1')}" {if $t_type==2}class="on"{/if}>三天内</a>
<a href="{echo reUrl('Tao/index?cid='.$cid.'&t_type=3&p=1')}" {if $t_type==3}class="on"{/if}>一周内</a>
<a href="{echo reUrl('Tao/index?cid='.$cid.'&t_type=4&p=1')}" {if $t_type==4}class="on"{/if}>一月内</a></li>
</ul>

</div>
<div class="shopAllCoupons2">
<ul>
<!--{loop $coupons $item}-->
<li><a href="{echo reUrl('Tao/show?id='.$item[c_id])}"  title="{if $item['title']}{$item.title}{else}{$item.s_title}{if $item['c_type']==1}满{$item.money_max}减{$item.money_reduce}元优惠券{else}{$item.money_amount}元代金券{/if}{/if}" target="_blank">
<span>
{if $item['title']}{$item.title}{else}{if $item['c_type']==1}满<span class="condition"><EM class="r-num">{$item.money_max}</EM></span>减<span class="condition"><EM class="r-num">{$item.money_reduce}</EM></span>元优惠券{else}<span class="condition"><EM class="r-num">{$item.money_amount}</EM></span>元代金券{/if}{/if}
<span>
  <h4><span class="b-num" >{$item.s_title}</span>信誉:<span class="credit credit_{$item.level}"></span></h4>
  </span>  
  </span>
  
  <span class="btn-holder">
  <!--{if $item['price_type']==1}-->免费<!--{elseif $item['price_type']==2}-->{$item.price}元<!--{elseif $item['price_type']==3}-->{$item.price}积分<!--{/if}-->
  <!--{if $item['expiry_type']==1 && $item['expiry']==0}-->
  <span class="btn1">已过期</span>
  <!--{else}-->
  <span class="btn">去领取</span>
  <!--{/if}-->
  </span><span class="cutter"></span></a>
</li>
<!--{/loop}-->
</ul>
</div>
<div>
<ul class="pager">{$pagelink}</ul>
</div>
</div>
<div class="ri">
<div style="margin-bottom:12px;"><a href="{echo reUrl('Home/Tao/shops')}"  title="淘宝优惠券" target="_blank" ><img src="__PUBLIC__/Images/Taobao/taobaomore.jpg" width="268" height="42" border="0" alt="淘宝优惠券" /></a></div>
<div class="shopAllCoupons">
<ul>
<!--{eval $coupons=tao_coupon_recs(1);}-->
<!--{loop $coupons $c}-->
<li><a href="{echo reUrl('Tao/show?id='.$c[c_id])}"  title="{if $c['title']}{$c.title}{else}{$c.s_title}{if $c['c_type']==1}满{$c.money_max}减{$c.money_reduce}元优惠券{else}{$c.money_amount}元代金券{/if}{/if}" target="_blank">
<span>
{if $c['title']}{$c.title}{else}{if $c['c_type']==1}满<span class="condition"><EM class="r-num">{$c.money_max}</EM></span>减<span class="condition"><EM class="r-num">{$c.money_reduce}</EM></span>元优惠券{else}<span class="condition"><EM class="r-num">{$c.money_amount}</EM></span>元代金券{/if}{/if}
<span>
  <h4><span class="b-num" >{$c.s_title}</span>信誉:<span class="credit credit_{$c.level}"></span></h4>
  </span>  
  </span>
  
  <span class="btn-holder">
  <!--{if $c['expiry_type']==1 && $c['expiry']<=$nowtime}-->
  <span class="btn1">已过期</span>
  <!--{else}-->
  <span class="btn">去领取</span>
  <!--{/if}-->
  </span><span class="cutter"></span></a>
</li>
<!--{/loop}-->
</ul>
</div>

<div class="tao-css3">
<dl>
  <dt>精选淘宝店</dt></dl>
<ul>
<!--{eval $shops=tao_shop_recs(2);}-->
<!--{loop $shops $shop}-->
<li><a href="{echo reUrl('Tao/shop?id='.$shop[s_id])}"  title="{$shop.title}优惠券" target="_blank">{$shop.title}</a> <span class="credit credit_{$shop.level}"></span></li>
<!--{/loop}-->
<li style=" text-align:right;"><a href="{echo reUrl('Home/Tao/shops')}"  title="淘宝优惠券" target="_blank">更多&gt;&gt;</a></li>

</ul>
</div>

</div>
</div>
{template "../Public/footer"}